cmake_minimum_required(VERSION 3.10.2)
project(lua)
set(CMAKE_CXX_STANDARD 17) 
add_definitions("-Wall -g")
# add_executable(tl test.cpp )
# target_link_libraries(tl lua)
add_compile_options(-fPIC)

set(BOOST_ROOT /usr/local/include/boost)
find_package(Boost COMPONENTS filesystem REQUIRED)

add_executable(pt test2.cpp )
target_link_libraries(pt dl lua ${Boost_LIBRARIES} )

